package gae.colopl;

import java.util.List;

import gae.colopl.bean.ColonyLink;
import gae.colopl.bean.PresentSouvenir;
import gae.colopl.bean.SetWarehouseItem;
import gae.colopl.bean.User;
import gae.colopl.bean.WareHouseItem;
import gae.colopl.http.ColoplLoginException;
import gae.colopl.http.ColoplRequestException;

public interface ColoplService {
    
    public User getUserInfo(String username, String password) throws ColoplLoginException, ColoplRequestException;
    
    public List<WareHouseItem> searchFromItemWH(String username, String password, String key) throws ColoplRequestException;
    
    public List<PresentSouvenir> getPresentSouvenir(String username, String password, int toID, int area) throws ColoplRequestException;
    
    public List<PresentSouvenir> getPresentSouvenir(String username, String password, int toID) throws ColoplRequestException;
    
    public Boolean presentSouvenirs(String username, String password, int toID, int area, int omiyageID, int num) throws ColoplRequestException;
    
    public List<ColonyLink> getNearFriendColonies(String username, String password) throws ColoplRequestException;
    
    public List<ColonyLink> getFarFriendColonies(String username, String password) throws ColoplRequestException;
    
    public List<ColonyLink> getInvitedFriendColonies(String username, String password) throws ColoplRequestException;
    
    public List<ColonyLink> getFriendColonies(String username, String password) throws ColoplRequestException;
    
    public List<SetWarehouseItem> setInformationWHItems(String username, String password, List<Integer> autoIDs, int priority, int price, String msg) throws ColoplRequestException;
    
}
